package com.chixing.day06.static_demo;

import com.chixing.day06.static_demo.Bank;

public class BankTest {
    public static void main(String[] args) {
        Bank bank = Bank.getInstance();
        bank=null;
        System.out.println(bank);
        Bank bank1 = Bank.getInstance();
        System.out.println(bank1);
        System.out.println(bank == bank1);

//        Bank i1 = Bank.getInstance();
//        System.out.println(i1);
//        Bank i2 = Bank.getInstance();
//        System.out.println(i2);
//        System.out.println(i1 == i2);
    }
}
